<extendheader title="修改手机号">
  <button ion-button item-end icon-left class="left" (click)="back()">
    <ion-icon name="ios-arrow-back"></ion-icon>
    返回
  </button>
</extendheader>


<ion-content>
  <form [formGroup]="phoneGroup" (ngSubmit)="changePhone()">
    <ion-item>
      <ion-label>手机号</ion-label>
      <ion-input type="number" formControlName="phone" placeholder="请输入11位手机号码"></ion-input>
    </ion-item>
    <ion-item>
      <ion-label>验证码</ion-label>
      <ion-input type="number" formControlName="verification" placeholder="请输入6位数字验证码"></ion-input>
      <button ion-button clear item-end (click)="sendmsg($event)">{{waitMsg}}</button>
      <!-- <button ion-button clear item-end *ngIf="!codealreadysend">{{waitMsg}}</button>       -->
    </ion-item>
    <button ion-button type="submit" class="submitbtn" [disabled]="!phoneGroup.valid">确定</button>
  </form>
</ion-content>
